/**
 * <P> Copyright © 2017 Inspur Group Co.,Ltd.  版权所有 浪潮集团有限公司 </p>.
 */
package com.inspur.cdc.server.license.api.sdk.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 序列号输出对象.
 * @author Smiley
 * 2018年1月5日
 *
 */
public class OutSerialNumber implements Serializable {
    /**
     * .
     */
    private static final long serialVersionUID = 1L;
    /**
     * id.
     */
    private String id;
    /**
     * name.
     */
    private String name;
    /**
     * 类型
     */
    private String type;
    /**
     * 可用时间
     */
    private int availableTime;
    
    /**
     * 剩余时间.
     */
    private String remainingTime;

    /**
     * 客户名称.
     */
    private String customerName;

	/**
	 * @return the remainingTime
	 */
	public String getRemainingTime() {
		return remainingTime;
	}
	/**
	 * @param remainingTime the remainingTime to set
	 */
	public void setRemainingTime(String remainingTime) {
		this.remainingTime = remainingTime;
	}
	public String getType() {
		return type;
	}
	
	@Override
	public String toString() {
		return "OutSerialNumber [id=" + id + ", name=" + name + ", type=" + type + ", availableTime=" + availableTime
				+ ", remainingTime=" + remainingTime + ", createTime=" + createTime + ", resourceNumber="
				+ resourceNumber + ", customerName=" + customerName + "]";
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getAvailableTime() {
		return availableTime;
	}
	public void setAvailableTime(int availableTime) {
		this.availableTime = availableTime;
	}
	/**
     * 创建时间.
     */
    private Date createTime;
    /**
     * 支持的资源数量.
     */
    private long resourceNumber;
    public long getResourceNumber() {
		return resourceNumber;
	}
	public void setResourceNumber(long resourceNumber) {
		this.resourceNumber = resourceNumber;
	}
	/**
     * 获取id.
     * @return the id
     */
    public String getId() {
        return id;
    }
    /**
     * 设置id.
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }
    /**
     * 获取createTime.
     * @return the createTime
     */
    public Date getCreateTime() {
        return createTime;
    }
    /**
     * 设置createTime.
     * @param createTime the createTime to set
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    /**
     * 获取name.
     * @return the name
     */
    public String getName() {
        return name;
    }
    /**
     * 设置name.
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }
}
